﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WSU.PMP.FE.WEB.com.pmp.www;

namespace WSU.PMP.FE.WEB
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            PMPWebService pmp = new PMPWebService();

            ItemDAO item = pmp.getItemByBarcode("pmpkey", "44000001070");
            Response.Write(item.Barcode + "<br />");
            Response.Write(item.Type + "<br />");
            Response.Write(item.Name + "<br />");
            Response.Write(item.Notes + "<br />");
            Response.Write(item.Description+ "<br />");
            Response.Write(item.Cost+ "<br />");
            Response.Write(item.Quantity);

            pmp.addItem("pmpkey",item);
        }
    }
}